package cn.school.mybatis.dao;

import java.util.*;

import org.apache.ibatis.annotations.Param;

import cn.school.mybatis.pojo.Student;

//Mapper
public interface StudentDao {
	// 用姓名,手机号 模糊查找学生集合
	public List<Student> search(@Param("sname") String name, @Param("telephone") String phone);

	// name,telephone,gradeid和addr4个条件
	public List<Student> search0(Map<String, Object> params);
}
